# -*-coding:utf-8 -*-
# File  : orgUserAddNoRole_api.py
# Time  ：2021/11/23 17:57
# Author：author name


from api.manage.manage_base import ManageBase


class OrgUserAddNoRoleApi(ManageBase):
    def __init__(self, username, real_name, phone, org_id, is_financial_id):
        """"添加站点用户接口"""
        super().__init__()
        self.url = self.host + "cloudlottery-manage/orguser/addNoRole"
        self.json = {"sceneType": "STORE", "username": username,
                     "password": "N44NSBcUYXNCVt2eT31H2Z+6KMOJNhywLzGbAyqIFxkzJHq/y4lXJJcIbC3bVzxf33ysEpEstG3euiRX/GlU+EPCUxTPZJytd80lRy0AtJ6i05iBKZkmJz8p3Vxp6K+CS8YhxRlhZI7a429VR5ingikJBIIhsN0rUmp6Eswrzsc=",
                     "realname": real_name, "phone": phone, "email": "", "operatorId": "", "remark": "",
                     "isSystemUser": 1, "roleId": "", "orgId": org_id, "isFinancial": is_financial_id}
        self.method = "post"
